//
//  GerenziliaoViewController.m
//  YSZC
//
//  Created by 张斌 on 16/4/20.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "GerenziliaoViewController.h"
#import "YSDoViewManager.h"
#import "LoadVcManager.h"

@interface GerenziliaoViewController ()
@property (weak, nonatomic) IBOutlet UIButton *headerimgview;
@property (weak, nonatomic) IBOutlet UILabel *uername;
@property (weak, nonatomic) IBOutlet UILabel *keyongjine;
@property (weak, nonatomic) IBOutlet UIButton *chongzhi;
@property (weak, nonatomic) IBOutlet UIButton *tixian;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line1;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line2;
@property (weak, nonatomic) IBOutlet UIButton *jiaoyiliushui;
@property (weak, nonatomic) IBOutlet UIButton *jiaoyimingxi;
@property (weak, nonatomic) IBOutlet UIButton *jiaoyijilu;

@end

@implementation GerenziliaoViewController
- (IBAction)headerimgbtnclick:(id)sender {
//    // 选择并且更换头像
//    UIImagePickerController* picker = [[UIImagePickerController alloc] init];
//    picker.sourceType=UIImagePickerControllerSourceTypeSavedPhotosAlbum;
//    picker.allowsEditing = YES;
//    
//    picker.delegate = self;
//    
//    [self presentViewController:picker animated:YES completion:nil];
    
    
}
// picker的代理方法

   
- (IBAction)shouzhimingxibtnclick:(UIButton *)sender {
    [self.navigationController pushViewController:[LoadVcManager sbVCWithsbname:@"YSShouzhimingxiViewController"] animated:YES];
}

- (IBAction)chongzhibtnclick:(id)sender {
    [self.navigationController pushViewController:[LoadVcManager sbVCWithsbname:@"GentouweiwanshanViewController"] animated:YES];
}
- (IBAction)tixianbtnclick:(id)sender {
}
- (IBAction)jiaoyiliushuibtnclick:(id)sender {
}
- (IBAction)jiaoyimingxibtnclick:(id)sender {
}
- (IBAction)jiaoyijilubtnclick:(id)sender {
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (void)viewDidLayoutSubviews{
    
    [super viewDidLayoutSubviews];
    [[YSDoViewManager sharedmanager] settoyuanWithview:@[self.chongzhi,self.tixian,self.jiaoyijilu,self.jiaoyiliushui,self.jiaoyimingxi]];
    
    [[YSDoViewManager sharedmanager] setlineWithViews:@[self.line1,self.line2]];
}



@end
